#!/bin/bash
set -e

if [ "$1" = "purge" ] ; then
    update-rc.d mcollective remove >/dev/null || exit $?

    rm -fr /etc/mcollective/server.cfg
    rm -fr /etc/mcollective/facts.yaml
fi

